// Clang 预处理过的 oes_base_model.h

# 440 "oes/oes_global/oes_base_model.h" 2



extern "C" {
# 608 "oes/oes_global/oes_base_model.h"
typedef enum _eOesExchangeId {
  OES_EXCH_UNDEFINE = 0,
  OES_EXCH_SSE = 1,
  OES_EXCH_SZSE = 2,
  __MAX_OES_EXCH,


  OES_EXCHANGE_TYPE_SSE = OES_EXCH_SSE,

  OES_EXCHANGE_TYPE_SZSE = OES_EXCH_SZSE,

  __OES_EXCH_ID_MAX_ALIGNED4 = 4,
  __OES_EXCH_ID_MAX_ALIGNED8 = 8
} eOesExchangeIdT;





typedef enum _eOesMarketId {
  OES_MKT_UNDEFINE = 0,
  OES_MKT_SH_ASHARE = 1,
  OES_MKT_SZ_ASHARE = 2,
  OES_MKT_SH_OPTION = 3,
  OES_MKT_SZ_OPTION = 4,
  __OES_MKT_ID_MAX,


  OES_MKT_ID_UNDEFINE = OES_MKT_UNDEFINE,

  OES_MKT_ID_SH_A = OES_MKT_SH_ASHARE,

  OES_MKT_ID_SZ_A = OES_MKT_SZ_ASHARE,

  OES_MKT_ID_SH_OPT = OES_MKT_SH_OPTION,

  __OES_MKT_ID_MAX_ALIGNED8 = 8
} eOesMarketIdT;





typedef enum _eOesPlatformId {
  OES_PLATFORM_UNDEFINE = 0,
  OES_PLATFORM_CASH_AUCTION = 1,
  OES_PLATFORM_FINANCIAL_SERVICES = 2,
  OES_PLATFORM_NON_TRADE = 3,
  OES_PLATFORM_DERIVATIVE_AUCTION = 4,
  __OES_PLATFORM_ID_MAX,
  __OES_PLATFORM_ID_MAX_ALIGNED8 = 8
} eOesPlatformIdT;





typedef enum _eOesMarketState {
  OES_MKT_STATE_UNDEFINE = 0,
  OES_MKT_STATE_PRE_OPEN = 1,
  OES_MKT_STATE_OPEN_UP_COMING = 2,
  OES_MKT_STATE_OPEN = 3,
  OES_MKT_STATE_HALT = 4,
  OES_MKT_STATE_CLOSE = 5,
  __OES_MKT_STATE_MAX
} eOesMarketStateT;





typedef enum _eOesTrdSessType {
  OES_TRD_SESS_TYPE_O = 0,
  OES_TRD_SESS_TYPE_T = 1,
  OES_TRD_SESS_TYPE_C = 2,
  __OES_TRD_SESS_TYPE_MAX
} eOesTrdSessTypeT;
# 695 "oes/oes_global/oes_base_model.h"
typedef enum _eOesProductType {
  OES_PRODUCT_TYPE_UNDEFINE = 0,
  OES_PRODUCT_TYPE_EQUITY = 1,
  OES_PRODUCT_TYPE_BOND_STD = 2,
  OES_PRODUCT_TYPE_IPO = 3,
  OES_PRODUCT_TYPE_ALLOTMENT = 4,
  OES_PRODUCT_TYPE_OPTION = 5,

  __OES_PRODUCT_TYPE_MAX,
} eOesProductTypeT;





typedef enum _eOesSecurityType {
  OES_SECURITY_TYPE_UNDEFINE = 0,
  OES_SECURITY_TYPE_STOCK = 1,
  OES_SECURITY_TYPE_BOND = 2,
  OES_SECURITY_TYPE_ETF = 3,
  OES_SECURITY_TYPE_FUND = 4,
  OES_SECURITY_TYPE_OPTION = 5,
  OES_SECURITY_TYPE_MGR = 9,
  __OES_SECURITY_TYPE_MAX,

  __OES_SECURITY_TYPE_NOT_SUPPORT = 100
} eOesSecurityTypeT;





typedef enum _eOesSubSecurityType {
  OES_SUB_SECURITY_TYPE_UNDEFINE = 0,

  __OES_SUB_SECURITY_TYPE_STOCK_MIN = 10,
  OES_SUB_SECURITY_TYPE_STOCK_ASH = 11,
  OES_SUB_SECURITY_TYPE_STOCK_SME = 12,
  OES_SUB_SECURITY_TYPE_STOCK_GEM = 13,
  OES_SUB_SECURITY_TYPE_STOCK_KSH = 14,
  OES_SUB_SECURITY_TYPE_STOCK_KCDR = 15,
  OES_SUB_SECURITY_TYPE_STOCK_CDR = 16,
  OES_SUB_SECURITY_TYPE_STOCK_HLTCDR = 17,
  __OES_SUB_SECURITY_TYPE_STOCK_MAX,

  __OES_SUB_SECURITY_TYPE_BOND_MIN = 20,
  OES_SUB_SECURITY_TYPE_BOND_GBF = 21,
  OES_SUB_SECURITY_TYPE_BOND_CBF = 22,
  OES_SUB_SECURITY_TYPE_BOND_CPF = 23,
  OES_SUB_SECURITY_TYPE_BOND_CCF = 24,
  OES_SUB_SECURITY_TYPE_BOND_FBF = 25,
  OES_SUB_SECURITY_TYPE_BOND_PRP = 26,
  OES_SUB_SECURITY_TYPE_BOND_STD = 27,
  __OES_SUB_SECURITY_TYPE_BOND_MAX,

  __OES_SUB_SECURITY_TYPE_ETF_MIN = 30,
  OES_SUB_SECURITY_TYPE_ETF_SINGLE_MKT = 31,
  OES_SUB_SECURITY_TYPE_ETF_CROSS_MKT = 32,
  OES_SUB_SECURITY_TYPE_ETF_BOND = 33,
  OES_SUB_SECURITY_TYPE_ETF_CURRENCY = 34,
  OES_SUB_SECURITY_TYPE_ETF_CROSS_BORDER = 35,
  OES_SUB_SECURITY_TYPE_ETF_GOLD = 36,
  __OES_SUB_SECURITY_TYPE_ETF_MAX,

  __OES_SUB_SECURITY_TYPE_FUND_MIN = 40,
  OES_SUB_SECURITY_TYPE_FUND_LOF = 41,
  OES_SUB_SECURITY_TYPE_FUND_CEF = 42,
  OES_SUB_SECURITY_TYPE_FUND_OEF = 43,
  OES_SUB_SECURITY_TYPE_FUND_GRADED = 44,
  __OES_SUB_SECURITY_TYPE_FUND_MAX,

  __OES_SUB_SECURITY_TYPE_OPTION_MIN = 50,
  OES_SUB_SECURITY_TYPE_OPTION_ETF = 51,
  OES_SUB_SECURITY_TYPE_OPTION_STOCK = 52,
  __OES_SUB_SECURITY_TYPE_OPTION_MAX,

  __OES_SUB_SECURITY_TYPE_MGR_MIN = 90,
  OES_SUB_SECURITY_TYPE_MGR_SSE_DESIGNATION
  = 91,
  OES_SUB_SECURITY_TYPE_MGR_SSE_RECALL_DESIGNATION
  = 92,
  OES_SUB_SECURITY_TYPE_MGR_SZSE_DESIGNATION
  = 93,
  OES_SUB_SECURITY_TYPE_MGR_SZSE_CANCEL_DESIGNATION
  = 94,
  OES_SUB_SECURITY_TYPE_MGR_OPT_EXERCISE_TRANSFER
  = 95,
  __OES_SUB_SECURITY_TYPE_MGR_MAX ,

  __OES_SUB_SECURITY_TYPE_MAX = __OES_SUB_SECURITY_TYPE_MGR_MAX
} eOesSubSecurityTypeT;





typedef enum _eOesSecurityLevel {
  OES_SECURITY_LEVEL_UNDEFINE = 0,
  OES_SECURITY_LEVEL_N = 1,
  OES_SECURITY_LEVEL_XST = 2,
  OES_SECURITY_LEVEL_ST = 3,
  OES_SECURITY_LEVEL_P = 4,
  OES_SECURITY_LEVEL_T = 5,
  OES_SECURITY_LEVEL_U = 6,
  OES_SECURITY_LEVEL_B = 7,
  __OES_SECURITY_LEVEL_MAX
} eOesSecurityLevelT;





typedef enum _eOesSecurityRiskLevel {
  OES_RISK_LEVEL_VERY_LOW = 0,
  OES_RISK_LEVEL_LOW = 1,
  OES_RISK_LEVEL_MEDIUM_LOW = 2,
  OES_RISK_LEVEL_MEDIUM = 3,
  OES_RISK_LEVEL_MEDIUM_HIGH = 4,
  OES_RISK_LEVEL_HIGH = 5,
  OES_RISK_LEVEL_VERY_HIGH = 6,
  __OES_RISK_LEVEL_MAX
} eOesSecurityRiskLevelT;





typedef enum _eOesSecuritySuspFlag {
  OES_SUSPFLAG_NONE = 0x0,
  OES_SUSPFLAG_EXCHANGE = 0x1,
  OES_SUSPFLAG_BROKER = 0x2,
  __OES_SUSPFLAG_OTHER
} eOesSecuritySuspFlagT;





typedef enum _eOesLotType {
  OES_LOT_TYPE_UNDEFINE = 0,
  OES_LOT_TYPE_FAILED = 1,
  OES_LOT_TYPE_ASSIGNMENT = 2,
  OES_LOT_TYPE_LOTTERY = 3,
  __OES_LOT_TYPE_MAX
} eOesLotTypeT;





typedef enum _eOesLotRejReason {
  OES_LOT_REJ_REASON_DUPLICATE = 1,
  OES_LOT_REJ_REASON_INVALID_DUPLICATE = 2,
  OES_LOT_REJ_REASON_OFFLINE_FIRST = 3,
  OES_LOT_REJ_REASON_BAD_RECORD = 4,
  OES_LOT_REJ_REASON_UNKNOW = 5
} eOesLotRejReasonT;





typedef enum _eOesSecurityIssueType {
  OES_ISSUE_TYPE_UNDEFINE = 0,
  OES_ISSUE_TYPE_MKT_QUOTA = 1,
  OES_ISSUE_TYPE_CASH = 2,
  OES_ISSUE_TYPE_CREDIT = 3
} eOesSecurityIssueTypeT;
# 873 "oes/oes_global/oes_base_model.h"
typedef enum _eOesOrdStatus {
  OES_ORD_STATUS_PENDING = 0,
  OES_ORD_STATUS_NEW = 1,

  OES_ORD_STATUS_DECLARED = 2,
  OES_ORD_STATUS_PARTIALLY_FILLED = 3,

  __OES_ORD_STATUS_FINAL_MIN = 4,
  OES_ORD_STATUS_CANCEL_DONE = 5,
  OES_ORD_STATUS_PARTIALLY_CANCELED = 6,
  OES_ORD_STATUS_CANCELED = 7,
  OES_ORD_STATUS_FILLED = 8,
  __OES_ORD_STATUS_VALID_MAX,

  __OES_ORD_STATUS_INVALID_MIN = 10,
  OES_ORD_STATUS_INVALID_OES = 11,
  OES_ORD_STATUS_INVALID_SH_F = 12,
  OES_ORD_STATUS_INVALID_SH_E = 13,
  OES_ORD_STATUS_INVALID_SH_COMM = 14,
  OES_ORD_STATUS_INVALID_SZ_F = 15,
  OES_ORD_STATUS_INVALID_SZ_E = 16,
  OES_ORD_STATUS_INVALID_SZ_REJECT = 17,
  OES_ORD_STATUS_INVALID_SZ_TRY_AGAIN = 18,
  __OES_ORD_STATUS_INVALID_MAX,




  OES_ORD_STATUS_NORMAL = OES_ORD_STATUS_NEW,
  OES_ORD_STATUS_DECLARING = OES_ORD_STATUS_NEW,
  __OES_ORD_STATUS_INVALID_OES = OES_ORD_STATUS_INVALID_OES

} eOesOrdStatusT;
# 948 "oes/oes_global/oes_base_model.h"
typedef enum _eOesOrdType {
  OES_ORD_TYPE_LMT = 0,
  OES_ORD_TYPE_LMT_FOK = 1,
  __OES_ORD_TYPE_LMT_MAX,

  OES_ORD_TYPE_MTL_BEST_5 = 10,
  OES_ORD_TYPE_MTL_BEST = 11,
  OES_ORD_TYPE_MTL_SAMEPARTY_BEST = 12,
  OES_ORD_TYPE_MTL = 13,
  __OES_ORD_TYPE_MTL_MAX,

  OES_ORD_TYPE_FAK_BEST_5 = 20,
  OES_ORD_TYPE_FAK = 21,
  __OES_ORD_TYPE_FAK_MAX,

  OES_ORD_TYPE_FOK = 30,
  __OES_ORD_TYPE_FOK_MAX,
  __OES_ORD_TYPE_MAX,
  __OES_ORD_TYPE_MAX_ALIGNED = 32
} eOesOrdTypeT;
# 979 "oes/oes_global/oes_base_model.h"
typedef enum _eOesOrdTypeSh {

  OES_ORD_TYPE_SH_LMT = OES_ORD_TYPE_LMT,


  OES_ORD_TYPE_SH_MTL_BEST_5 = OES_ORD_TYPE_MTL_BEST_5,

  OES_ORD_TYPE_SH_MTL_BEST = OES_ORD_TYPE_MTL_BEST,

  OES_ORD_TYPE_SH_MTL_SAMEPARTY_BEST = OES_ORD_TYPE_MTL_SAMEPARTY_BEST,

  OES_ORD_TYPE_SH_FAK_BEST_5 = OES_ORD_TYPE_FAK_BEST_5
} eOesOrdTypeShT;
# 1003 "oes/oes_global/oes_base_model.h"
typedef enum _eOesOrdTypeShOpt {

  OES_ORD_TYPE_SHOPT_LMT = OES_ORD_TYPE_LMT,

  OES_ORD_TYPE_SHOPT_LMT_FOK = OES_ORD_TYPE_LMT_FOK,


  OES_ORD_TYPE_SHOPT_MTL = OES_ORD_TYPE_MTL,

  OES_ORD_TYPE_SHOPT_FAK = OES_ORD_TYPE_FAK,

  OES_ORD_TYPE_SHOPT_FOK = OES_ORD_TYPE_FOK,




  OES_ORD_TYPE_SH_LMT_FOK = OES_ORD_TYPE_SHOPT_LMT_FOK,
  OES_ORD_TYPE_SH_FOK = OES_ORD_TYPE_SHOPT_FOK
} eOesOrdTypeShOptT;
# 1033 "oes/oes_global/oes_base_model.h"
typedef enum _eOesOrdTypeSz {

  OES_ORD_TYPE_SZ_LMT = OES_ORD_TYPE_LMT,

  OES_ORD_TYPE_SZ_LMT_FOK = OES_ORD_TYPE_LMT_FOK,


  OES_ORD_TYPE_SZ_MTL_BEST = OES_ORD_TYPE_MTL_BEST,

  OES_ORD_TYPE_SZ_MTL_SAMEPARTY_BEST = OES_ORD_TYPE_MTL_SAMEPARTY_BEST,

  OES_ORD_TYPE_SZ_FAK_BEST_5 = OES_ORD_TYPE_FAK_BEST_5,

  OES_ORD_TYPE_SZ_FAK = OES_ORD_TYPE_FAK,

  OES_ORD_TYPE_SZ_FOK = OES_ORD_TYPE_FOK
} eOesOrdTypeSzT;





typedef enum _eOesBuySellType {
  OES_BS_TYPE_UNDEFINE = 0,

  OES_BS_TYPE_BUY = 1,
  OES_BS_TYPE_SELL = 2,
  OES_BS_TYPE_CREATION = 3,
  OES_BS_TYPE_REDEMPTION = 4,
  OES_BS_TYPE_CREDIT_BUY = 5,
  OES_BS_TYPE_CREDIT_SELL = 6,
  OES_BS_TYPE_SUBSCRIPTION = 7,
  OES_BS_TYPE_ALLOTMENT = 8,
  __OES_BS_TYPE_MAX_SPOT,


  __OES_BS_TYPE_MIN_OPTION = 10,
  OES_BS_TYPE_BUY_OPEN = 11,
  OES_BS_TYPE_SELL_CLOSE = 12,
  OES_BS_TYPE_SELL_OPEN = 13,
  OES_BS_TYPE_BUY_CLOSE = 14,
  OES_BS_TYPE_COVERED_OPEN = 15,
  OES_BS_TYPE_COVERED_CLOSE = 16,
  OES_BS_TYPE_OPTION_EXERCISE = 17,
  OES_BS_TYPE_UNDERLYING_FREEZE = 18,
  OES_BS_TYPE_UNDERLYING_UNFREEZE = 19,
  __OES_BS_TYPE_MAX_OPTION,


  OES_BS_TYPE_CANCEL = 30,
  __OES_BS_TYPE_MAX_TRADING,





  OES_BS_TYPE_SSE_DESIGNATION = 41,
  OES_BS_TYPE_SSE_RECALL_DESIGNATION = 42,
  OES_BS_TYPE_SZSE_DESIGNATION = 43,
  OES_BS_TYPE_SZSE_CANCEL_DESIGNATION = 44,

  OES_BS_TYPE_B = OES_BS_TYPE_BUY,
  OES_BS_TYPE_S = OES_BS_TYPE_SELL,
  OES_BS_TYPE_KB = OES_BS_TYPE_CREATION,
  OES_BS_TYPE_KS = OES_BS_TYPE_REDEMPTION,
  OES_BS_TYPE_CB = OES_BS_TYPE_CREDIT_BUY,
  OES_BS_TYPE_CS = OES_BS_TYPE_CREDIT_SELL,

  OES_BS_TYPE_BO = OES_BS_TYPE_BUY_OPEN,
  OES_BS_TYPE_BC = OES_BS_TYPE_BUY_CLOSE,
  OES_BS_TYPE_SO = OES_BS_TYPE_SELL_OPEN,
  OES_BS_TYPE_SC = OES_BS_TYPE_SELL_CLOSE,
  OES_BS_TYPE_CO = OES_BS_TYPE_COVERED_OPEN,
  OES_BS_TYPE_CC = OES_BS_TYPE_COVERED_CLOSE,
  OES_BS_TYPE_TE = OES_BS_TYPE_OPTION_EXERCISE,
  OES_BS_TYPE_UF = OES_BS_TYPE_UNDERLYING_FREEZE,
  OES_BS_TYPE_UU = OES_BS_TYPE_UNDERLYING_UNFREEZE

} eOesBuySellTypeT;





typedef enum _eOesOrdDir {
  OES_ORD_DIR_BUY = 0,
  OES_ORD_DIR_SELL = 1,
  __OES_ORD_DIR_MAX
} eOesOrdDirT;
# 1135 "oes/oes_global/oes_base_model.h"
typedef enum _eOesTrdCnfmType {
  OES_TRDCNFM_TYPE_NORMAL = 0,

  OES_TRDCNFM_TYPE_ETF_FIRST = 1,
  OES_TRDCNFM_TYPE_ETF_CMPOENT = 2,
  OES_TRDCNFM_TYPE_ETF_CASH = 3,
  OES_TRDCNFM_TYPE_ETF_LAST = 4,
  __OES_TRDCNFM_TYPE_ETF_MAX,

  OES_TRDCNFM_TYPE_OPT_QP1 = 11,
  OES_TRDCNFM_TYPE_OPT_CV1 = 12,
  __OES_TRDCNFM_TYPE_OPT_MAX,

  __OES_TRDCNFM_TYPE_MAX = __OES_TRDCNFM_TYPE_OPT_MAX,




  OES_ETF_TRDCNFM_TYPE_NONE = OES_TRDCNFM_TYPE_NORMAL,
  OES_ETF_TRDCNFM_TYPE_ETF_FIRST = OES_TRDCNFM_TYPE_ETF_FIRST,
  OES_ETF_TRDCNFM_TYPE_CMPOENT = OES_TRDCNFM_TYPE_ETF_CMPOENT,
  OES_ETF_TRDCNFM_TYPE_CASH = OES_TRDCNFM_TYPE_ETF_CASH,
  OES_ETF_TRDCNFM_TYPE_ETF_LAST = OES_TRDCNFM_TYPE_ETF_LAST,
  __OES_ETF_TRDCNFM_TYPE_MAX = __OES_TRDCNFM_TYPE_ETF_MAX
} eOesTrdCnfmTypeT;





typedef enum _eOesEtfSubFlag {
  OES_ETF_SUBFLAG_FORBID_SUB = 0,
  OES_ETF_SUBFLAG_ALLOW_SUB = 1,

  OES_ETF_SUBFLAG_MUST_SUB = 2,
  OES_ETF_SUBFLAG_SZ_REFUND_SUB = 3,
  OES_ETF_SUBFLAG_SZ_MUST_SUB = 4,
  OES_ETF_SUBFLAG_OTHER_REFUND_SUB = 5,
  OES_ETF_SUBFLAG_OTHER_MUST_SUB = 6
} eOesEtfSubFlagT;





typedef enum _eOesExecType {
  OES_EXECTYPE_UNDEFINE = 0,
  OES_EXECTYPE_INSERT = 1,
  OES_EXECTYPE_CONFIRMED = 2,
  OES_EXECTYPE_CANCELLED = 3,
  OES_EXECTYPE_AUTO_CANCELLED = 4,
  OES_EXECTYPE_REJECT = 5,
  OES_EXECTYPE_TRADE = 6,
  __OES_EXECTYPE_MAX
} eOesExecTypeT;
# 1200 "oes/oes_global/oes_base_model.h"
typedef enum _eOesCurrType {
  OES_CURR_TYPE_RMB = 0,
  OES_CURR_TYPE_HKD = 1,
  OES_CURR_TYPE_USD = 2,
  __OES_CURR_TYPE_MAX
} eOesCurrTypeT;





typedef enum _eOesFeeType {
  OES_FEE_TYPE_EXCHANGE_STAMP = 0x1,
  OES_FEE_TYPE_EXCHANGE_TRANSFER = 0x2,
  OES_FEE_TYPE_EXCHANGE_SETTLEMENT = 0x3,
  OES_FEE_TYPE_EXCHANGE_TRADE_RULE = 0x4,
  OES_FEE_TYPE_EXCHANGE_EXCHANGE = 0x5,
  OES_FEE_TYPE_EXCHANGE_ADMINFER = 0x6,
  OES_FEE_TYPE_EXCHANGE_OTHER = 0x7,
  __OES_FEE_TYPE_EXCHANGE_MAX,

  OES_FEE_TYPE_BROKER_BACK_END = 0x11
} eOesFeeTypeT;





typedef enum _eOesCalcFeeMode {
  OES_CALC_FEE_MODE_AMOUNT = 0,
  OES_CALC_FEE_MODE_QTY = 1,
  OES_CALC_FEE_MODE_ORD = 2
} eOesCalcFeeModeT;





typedef enum _eOesFundTrsfDirect {
  OES_FUND_TRSF_DIRECT_IN = 0,
  OES_FUND_TRSF_DIRECT_OUT = 1
} eOesFundTrsfDirectT;





typedef enum _eOesFundTrsfType {
  OES_FUND_TRSF_TYPE_OES_BANK = 0,
  OES_FUND_TRSF_TYPE_OES_COUNTER = 1,
  OES_FUND_TRSF_TYPE_COUNTER_BANK = 2,
  __OES_FUND_TRSF_TYPE_MAX
} eOesFundTrsfTypeT;





typedef enum _eOesFundTrsfStatus {
  OES_FUND_TRSF_STS_UNDECLARED = 0,
  OES_FUND_TRSF_STS_DECLARED = 1,
  OES_FUND_TRSF_STS_WAIT_DONE = 2,
  OES_FUND_TRSF_STS_DONE = 3,

  __OES_FUND_TRSF_STS_ROLLBACK_MIN = 5,
  OES_FUND_TRSF_STS_UNDECLARED_ROLLBACK = 6,
  OES_FUND_TRSF_STS_DECLARED_ROLLBACK = 7,

  __OES_FUND_TRSF_STS_INVALID_MIN = 10,
  OES_FUND_TRSF_STS_INVALID_OES = 11,
  OES_FUND_TRSF_STS_INVALID_COUNTER = 12,
  OES_FUND_TRSF_STS_SUSPENDED = 13
} eOesFundTrsfStatusT;
# 1283 "oes/oes_global/oes_base_model.h"
typedef enum _eOesBusinessScope {
  OES_BIZ_SCOPE_UNDEFINE = 0x0,
  OES_BIZ_SCOPE_STOCK = 0x01,
  OES_BIZ_SCOPE_OPTION = 0x02,

  OES_BIZ_SCOPE_ALL = 0xFF
} eOesBusinessScopeT;






typedef enum _eOesAcctType {
  OES_ACCT_TYPE_NORMAL = 0,
  OES_ACCT_TYPE_CREDIT = 1,
  OES_ACCT_TYPE_OPTION = 2,
  __OES_ACCT_TYPE_MAX,
  __OES_ACCT_TYPE_MAX_ALIGNED4 = 4,
  __OES_ACCT_TYPE_MAX_ALIGNED8 = 8
} eOesAcctTypeT;






typedef enum _eOesCashType {

  OES_CASH_TYPE_SPOT = OES_ACCT_TYPE_NORMAL,

  OES_CASH_TYPE_CREDIT = OES_ACCT_TYPE_CREDIT,

  OES_CASH_TYPE_OPTION = OES_ACCT_TYPE_OPTION,

  __OES_CASH_TYPE_MAX = __OES_ACCT_TYPE_MAX,

  __OES_CASH_TYPE_MAX_ALIGNED4 = __OES_ACCT_TYPE_MAX_ALIGNED4,

  __OES_CASH_TYPE_MAX_ALIGNED8 = __OES_ACCT_TYPE_MAX_ALIGNED8,


  OES_CASH_TYPE_CRE = OES_CASH_TYPE_CREDIT,
  OES_CASH_TYPE_OPT = OES_CASH_TYPE_OPTION,
} eOesCashTypeT;





typedef enum _eOesAcctStatus {
  OES_ACCT_STATUS_NORMAL = 0,
  OES_ACCT_STATUS_DISABLED = 1,
  OES_ACCT_STATUS_LOCKED = 2
} eOesAcctStatusT;





typedef enum _eOesTradingPermission {
  OES_PERMIS_MARKET_ORDER = (1 << 1),
  OES_PERMIS_STRUCTURED_FUND = (1 << 2),
  OES_PERMIS_BOND_QUALIFIED_INVESTOR = (1 << 3),
  OES_PERMIS_XXX4 = (1 << 4),

  OES_PERMIS_DELISTING = (1 << 5),
  OES_PERMIS_RISK_WARNING = (1 << 6),

  OES_PERMIS_SINGLE_MARKET_ETF = (1 << 7),
  OES_PERMIS_CROSS_BORDER_ETF = (1 << 8),
  OES_PERMIS_CROSS_MARKET_ETF = (1 << 9),
  OES_PERMIS_CURRENCY_ETF = (1 << 10),

  OES_PERMIS_STOCK_PLEDGE_REPURCHASE = (1 << 11),
  OES_PERMIS_PLEDGE_REPURCHASE = (1 << 12),

  OES_PERMIS_GEM = (1 << 13),
  OES_PERMIS_SH_HK_STOCK_CONNECT = (1 << 14),
  OES_PERMIS_SZ_HK_STOCK_CONNECT = (1 << 15),

  OES_PERMIS_HLTCDR = (1 << 16),
  OES_PERMIS_CDR = (1 << 17),
  OES_PERMIS_INNOVATION = (1 << 18),
  OES_PERMIS_KSH = (1 << 19),

  __OES_PERMIS_ALL = 0xFFFFFFFF
} eOesTradingPermissionT;





typedef enum _eOesTradingLimit {
  OES_LIMIT_BUY = (1 << 1),
  OES_LIMIT_SELL = (1 << 2),
  OES_LIMIT_RECALL_DESIGNATION = (1 << 3),
  OES_LIMIT_DESIGNATION = (1 << 4),

  OES_LIMIT_REPO = (1 << 5),
  OES_LIMIT_REVERSE_REPO = (1 << 6),
  OES_LIMIT_SUBSCRIPTION = (1 << 7),
  OES_LIMIT_CREDIT_BUY = (1 << 8),
  OES_LIMIT_CREDIT_SELL = (1 << 9),

  OES_LIMIT_BUY_OPEN = (1 << 10),
  OES_LIMIT_SELL_CLOSE = (1 << 11),
  OES_LIMIT_SELL_OPEN = (1 << 12),
  OES_LIMIT_BUY_CLOSE = (1 << 13),
  OES_LIMIT_COVERED_OPEN = (1 << 14),
  OES_LIMIT_COVERED_CLOSE = (1 << 15),
  OES_LIMIT_UNDERLYING_FREEZE = (1 << 16),
  OES_LIMIT_UNDERLYING_UNFREEZE = (1 << 17),
  OES_LIMIT_OPTION_EXERCISE = (1 << 18),

  __OES_LIMIT_ALL = 0xFFFFFFFF
} eOesTradingLimitT;





typedef enum _eOesQualificationClass {
  OES_QUALIFICATION_PUBLIC_INVESTOR = 0,
  OES_QUALIFICATION_QUALIFIED_INVESTOR = 1,
  OES_QUALIFICATION_QUALIFIED_INSTITUTIONAL
  = 2
} eOesQualificationClassT;
# 1423 "oes/oes_global/oes_base_model.h"
typedef enum _eOesInvestorClass {
  OES_INVESTOR_CLASS_NORMAL = 0,
  OES_INVESTOR_CLASS_PROFESSIONAL_A = 1,
  OES_INVESTOR_CLASS_PROFESSIONAL_B = 2,
  OES_INVESTOR_CLASS_PROFESSIONAL_C = 3
} eOesInvestorClassT;





typedef enum _eOesCustType {
  OES_CUST_TYPE_PERSONAL = 0,
  OES_CUST_TYPE_INSTITUTION = 1,
  OES_CUST_TYPE_PROPRIETARY = 2,
  OES_CUST_TYPE_PRODUCT = 3,
  OES_CUST_TYPE_MKT_MAKER = 4,
  OES_CUST_TYPE_OTHERS = 5,
  __OES_CUST_TYPE_MAX
} eOesCustTypeT;





typedef enum _eOesOwnerType {
  OES_OWNER_TYPE_UNDEFINE = 0,
  OES_OWNER_TYPE_PERSONAL = 1,
  OES_OWNER_TYPE_EXCHANGE = 101,
  OES_OWNER_TYPE_MEMBER = 102,
  OES_OWNER_TYPE_INSTITUTION = 103,
  OES_OWNER_TYPE_PROPRIETARY = 104,
  OES_OWNER_TYPE_MKT_MAKER = 105,
  OES_OWNER_TYPE_SETTLEMENT = 106,
  __OES_OWNER_TYPE_MAX
} eOesOwnerTypeT;





typedef enum _eOesClientType {
  OES_CLIENT_TYPE_UNDEFINED = 0,
  OES_CLIENT_TYPE_INVESTOR = 1,
  OES_CLIENT_TYPE_VIRTUAL = 2
} eOesClientTypeT;





typedef enum _eOesClientStatus {
  OES_CLIENT_STATUS_UNACTIVATED = 0,
  OES_CLIENT_STATUS_ACTIVATED = 1,
  OES_CLIENT_STATUS_PAUSE = 2,
  OES_CLIENT_STATUS_SUSPENDED = 3,
  OES_CLIENT_STATUS_CANCELLED = 4
} eOesClientStatusT;
# 1491 "oes/oes_global/oes_base_model.h"
typedef enum _eOesOptContractType {
  OES_OPT_CONTRACT_TYPE_UNDEFINE = 0,
  OES_OPT_CONTRACT_TYPE_CALL = 1,
  OES_OPT_CONTRACT_TYPE_PUT = 2,
  __OES_OPT_CONTRACT_TYPE_MAX
} eOesOptContractTypeT;





typedef enum _eOesOptLimitOpenFlag {
  OES_OPT_LIMIT_OPEN_FLAG_NORMAL = 0,
  OES_OPT_LIMIT_OPEN_FLAG_LIMITED = 1
} eOesOptLimitOpenFlagT;





typedef enum _eOesOptExerciseType {
  OES_OPT_EXERCISE_TYPE_E = 0,
  OES_OPT_EXERCISE_TYPE_A = 1,
  OES_OPT_EXERCISE_TYPE_B = 2,
  __OES_OPT_EXERCISE_TYPE_MAX
} eOesOptExerciseTypeT;





typedef enum _eOesOptDeliveryType {
  OES_OPT_DELIVERY_TYPE_UNDEFINE = 0,
  OES_OPT_DELIVERY_TYPE_SECURITY = 1,
  OES_OPT_DELIVERY_TYPE_CASH = 2,
  __OES_OPT_DELIVERY_TYPE_MAX
} eOesOptDeliveryTypeT;





typedef enum _eOesOptPositionType {
  OES_OPT_POSITION_TYPE_UNDEFINE = 0,
  OES_OPT_POSITION_TYPE_LONG = 1,
  OES_OPT_POSITION_TYPE_SHORT = 2,
  OES_OPT_POSITION_TYPE_COVERED = 3,
  __OES_OPT_POSITION_TYPE_MAX
} eOesOptPositionTypeT;





typedef enum _eOesOptInvLevel {
  OES_OPT_INV_LEVEL_UNDEFINE = 0,
  OES_OPT_INV_LEVEL_1 = 1,
  OES_OPT_INV_LEVEL_2 = 2,
  OES_OPT_INV_LEVEL_3 = 3,
  __OES_OPT_INV_LEVEL_MAX
} eOesOptInvLevelT;





typedef enum _eOesPositionEffect {
  OES_POSITION_EFFECT_UNDEFINE = 0,
  OES_POSITION_EFFECT_OPEN = 1,
  OES_POSITION_EFFECT_CLOSE = 2,
  __OES_POSITION_EFFECT_MAX
} eOesPositionEffectT;





typedef enum _eOesNotifySource {
  OES_NOTIFY_SOURCE_UNDEFINE = 0,
  OES_NOTIFY_SOURCE_OES = 1,
  OES_NOTIFY_SOURCE_MON = 2,
  OES_NOTIFY_SOURCE_BROKER = 3,
  OES_NOTIFY_SOURCE_EXCHANGE = 4,
  OES_NOTIFY_SOURCE_CSDC = 5,
  __OES_NOTIFY_SOURCE_MAX
} eOesNotifySourceT;





typedef enum _eOesNotifyType {
  OES_NOTIFY_TYPE_UNDEFINE = 0,
  OES_NOTIFY_TYPE_CONTRACT_EXPIRE = 1,
  OES_NOTIFY_TYPE_CONTRACT_ADJUSTED = 2,
  OES_NOTIFY_TYPE_UNDERLYING_DR_PROXIMITY = 3,
  OES_NOTIFY_TYPE_EXERCISE_DATE_PROXIMITY = 4,
  OES_NOTIFY_TYPE_EXERCISED_POSSIBILITY = 5,
  OES_NOTIFY_TYPE_EXERCISE_ASSIGNED = 6,
  OES_NOTIFY_TYPE_COVERED_NOT_ENOUGH = 7,
  OES_NOTIFY_TYPE_DELIVERY_NOT_ENOUGH = 8,
  OES_NOTIFY_TYPE_MARGIN_CALL = 9,
  OES_NOTIFY_TYPE_FORCED_CLOSE = 10,
  OES_NOTIFY_TYPE_OTHERS = 100,
  __OES_NOTIFY_TYPE_MAX
} eOesNotifyTypeT;





typedef enum _eOesNotifyLevel {
  OES_NOTIFY_LEVEL_UNDEFINE = 0,
  OES_NOTIFY_LEVEL_LOW = 1,
  OES_NOTIFY_LEVEL_GENERAL = 2,
  OES_NOTIFY_LEVEL_IMPORTANT = 3,
  OES_NOTIFY_LEVEL_URGENT = 4,
  __OES_NOTIFY_LEVEL_MAX
} eOesNotifyLevelT;





typedef enum _eOesNotifyScope {
  OES_NOTIFY_SCOPE_UNDEFINE = 0,
  OES_NOTIFY_SCOPE_CUST = 1,
  OES_NOTIFY_SCOPE_ALL = 2,
  __OES_NOTIFY_SCOPE_MAX
} eOesNotifyScopeT;
# 1932 "oes/oes_global/oes_base_model.h"
typedef struct _OesOrdReq {
  int32 clSeqNo; uint8 mktId; uint8 ordType; uint8 bsType; uint8 __ORD_BASE_INFO_filler; char invAcctId[(16)]; char securityId[(16)]; int32 ordQty; int32 ordPrice; int64 origClOrdId; union { uint64 u64; int64 i64; uint32 u32[2]; int32 i32[2]; char c8[8]; } userInfo
  ; STimeval32T __ordReqOrigSendTime;
} OesOrdReqT;
# 1948 "oes/oes_global/oes_base_model.h"
typedef struct _OesOrdCancelReq {
  int32 clSeqNo; uint8 mktId; uint8 __ORD_CANCEL_BASE_INFO_filler1[3]; char invAcctId[(16)]; char securityId[(16)]; int32 origClSeqNo; int8 origClEnvId; uint8 __ORD_CANCEL_BASE_INFO_filler2[3]; int64 origClOrdId; union { uint64 u64; int64 i64; uint32 u32[2]; int32 i32[2]; char c8[8]; } userInfo
  ; STimeval32T __ordReqOrigSendTime;
} OesOrdCancelReqT;
# 1964 "oes/oes_global/oes_base_model.h"
typedef struct _OesOrdReject {
  int32 clSeqNo; uint8 mktId; uint8 ordType; uint8 bsType; uint8 __ORD_BASE_INFO_filler; char invAcctId[(16)]; char securityId[(16)]; int32 ordQty; int32 ordPrice; int64 origClOrdId; union { uint64 u64; int64 i64; uint32 u32[2]; int32 i32[2]; char c8[8]; } userInfo
  ; STimeval32T __ordReqOrigSendTime;


  int32 origClSeqNo;

  int8 origClEnvId;

  int8 clEnvId;

  int16 clientId;


  int32 ordDate;

  int32 ordTime;


  int32 ordRejReason;

  int32 __filler;
} OesOrdRejectT;
# 2002 "oes/oes_global/oes_base_model.h"
typedef struct _OesOrdCnfm {
  int32 clSeqNo; uint8 mktId; uint8 ordType; uint8 bsType; uint8 __ORD_BASE_INFO_filler; char invAcctId[(16)]; char securityId[(16)]; int32 ordQty; int32 ordPrice; int64 origClOrdId; union { uint64 u64; int64 i64; uint32 u32[2]; int32 i32[2]; char c8[8]; } userInfo ; STimeval32T __ordReqOrigSendTime; int64 clOrdId; int16 clientId; int8 clEnvId; int8 origClEnvId; int32 origClSeqNo; int32 ordDate; int32 ordTime; int32 ordCnfmTime; uint8 ordStatus; uint8 ordCnfmSts; uint8 securityType; uint8 subSecurityType; uint8 __platformId; uint8 __tgwGrpNo; uint8 __tgwPartitionNo; uint8 productType; char exchOrdId[(17)]; uint8 __declareFlag; uint8 __repeatFlag; uint8 ownerType; int64 frzAmt; int64 frzInterest; int64 frzFee; int64 cumAmt; int64 cumInterest; int64 cumFee; int32 cumQty; int32 canceledQty; int32 ordRejReason; int32 exchErrCode; int32 pbuId; int32 branchId; int32 __rowNum; uint32 __recNum; STimeval32T __ordReqOrigRecvTime; STimeval32T __ordReqCollectedTime; STimeval32T __ordReqActualDealTime; STimeval32T __ordReqProcessedTime; STimeval32T __ordCnfmOrigRecvTime; STimeval32T __ordCnfmCollectedTime; STimeval32T __ordCnfmActualDealTime; STimeval32T __ordCnfmProcessedTime; STimeval32T __ordDeclareTime; STimeval32T __ordDeclareDoneTime; STimeval32T __pushingTime;
  int64 frzMargin; int64 cumMargin; char __ORD_CNFM_EXT_reserve[24];
} OesOrdCnfmT;
# 2216 "oes/oes_global/oes_base_model.h"
typedef struct _OesTrdBaseInfo {
  int64 exchTrdNum; uint8 mktId; uint8 trdSide; uint8 __platformId; uint8 __trdCnfmType; uint32 __etfTrdCnfmSeq; char invAcctId[(16)]; char securityId[(16)]; int32 trdDate; int32 trdTime; int32 trdQty; int32 trdPrice; int64 trdAmt; int64 clOrdId; int32 cumQty; int32 __rowNum; uint8 __tgwGrpNo; uint8 __isTrsfInCashAvailable; uint8 __tgwPartitionNo; uint8 productType; int32 origOrdQty; int32 pbuId; int32 branchId;
} OesTrdBaseInfoT;
# 2230 "oes/oes_global/oes_base_model.h"
typedef struct _OesTrdCnfm {
  int64 exchTrdNum; uint8 mktId; uint8 trdSide; uint8 __platformId; uint8 __trdCnfmType; uint32 __etfTrdCnfmSeq; char invAcctId[(16)]; char securityId[(16)]; int32 trdDate; int32 trdTime; int32 trdQty; int32 trdPrice; int64 trdAmt; int64 clOrdId; int32 cumQty; int32 __rowNum; uint8 __tgwGrpNo; uint8 __isTrsfInCashAvailable; uint8 __tgwPartitionNo; uint8 productType; int32 origOrdQty; int32 pbuId; int32 branchId; int32 clSeqNo; int16 clientId; int8 clEnvId; uint8 subSecurityType; uint8 ordStatus; uint8 ordType; uint8 ordBuySellType; uint8 securityType; int32 origOrdPrice; int64 cumAmt; int64 cumInterest; int64 cumFee; union { uint64 u64; int64 i64; uint32 u32[2]; int32 i32[2]; char c8[8]; } userInfo ; STimeval32T __trdCnfmOrigRecvTime; STimeval32T __trdCnfmCollectedTime; STimeval32T __trdCnfmActualDealTime; STimeval32T __trdCnfmProcessedTime; STimeval32T __pushingTime;
  int64 trdInterest; int64 trdFee; int64 trdMargin; int64 cumMargin; char __TRD_CNFM_EXT_reserve[24];
} OesTrdCnfmT;
# 2294 "oes/oes_global/oes_base_model.h"
typedef struct _OesLotWinningBaseInfo {
  char invAcctId[(16)]; char securityId[(16)]; uint8 mktId; uint8 lotType; uint8 rejReason; int8 __LOT_WINNING_BASE_INFO_filler; int32 lotDate; char securityName[(24)]; int64 assignNum; int32 lotQty; int32 lotPrice; int64 lotAmt;
} OesLotWinningBaseInfoT;
# 2356 "oes/oes_global/oes_base_model.h"
typedef struct _OesFundTrsfBaseInfo {
  int32 clSeqNo; uint8 direct; uint8 isAllotOnly; uint8 __FUND_TRSF_BASE_filler[2]; char cashAcctId[(16)]; char trdPasswd[(40)]; char trsfPasswd[(40)]; int64 occurAmt; union { uint64 u64; int64 i64; uint32 u32[2]; int32 i32[2]; char c8[8]; } userInfo;
} OesFundTrsfBaseInfoT;
# 2370 "oes/oes_global/oes_base_model.h"
typedef struct _OesFundTrsfReq {
  int32 clSeqNo; uint8 direct; uint8 isAllotOnly; uint8 __FUND_TRSF_BASE_filler[2]; char cashAcctId[(16)]; char trdPasswd[(40)]; char trsfPasswd[(40)]; int64 occurAmt; union { uint64 u64; int64 i64; uint32 u32[2]; int32 i32[2]; char c8[8]; } userInfo;
} OesFundTrsfReqT;
# 2384 "oes/oes_global/oes_base_model.h"
typedef struct _OesFundTrsfReject {
  int32 clSeqNo; uint8 direct; uint8 isAllotOnly; uint8 __FUND_TRSF_BASE_filler[2]; char cashAcctId[(16)]; char trdPasswd[(40)]; char trsfPasswd[(40)]; int64 occurAmt; union { uint64 u64; int64 i64; uint32 u32[2]; int32 i32[2]; char c8[8]; } userInfo;


  int32 ordDate;

  int32 ordTime;


  int16 clientId;

  int8 clEnvId;

  int8 __filler;

  int32 rejReason;


  char errorInfo[(64)];
} OesFundTrsfRejectT;
# 2417 "oes/oes_global/oes_base_model.h"
typedef struct _OesFundTrsfReport {

  int32 clSeqNo;

  int16 clientId;

  int8 clEnvId;

  uint8 direct;

  char cashAcctId[(16)];


  int64 occurAmt;

  union {
    uint64 u64;
    int64 i64;
    uint32 u32[2];
    int32 i32[2];
    char c8[8];
  } userInfo;


  int32 fundTrsfId;

  int32 counterEntrustNo;


  int32 operDate;

  int32 operTime;

  int32 dclrTime;

  int32 doneTime;


  uint8 isAllotOnly;

  uint8 trsfStatus;

  uint8 __hasCounterTransfered;

  uint8 __filler;


  int32 rejReason;

  int32 counterErrCode;

  uint32 __filler2;

  char allotSerialNo[(64)];

  char errorInfo[(64)];
} OesFundTrsfReportT;
# 2563 "oes/oes_global/oes_base_model.h"
typedef struct _OesIssueBaseInfo {
  char securityId[(16)]; uint8 mktId; uint8 securityType; uint8 subSecurityType; uint8 isCancelAble; uint8 isReApplyAble; uint8 productType; uint8 suspFlag; uint8 issueType; char securityName[(24)]; char underlyingSecurityId[(16)]; int32 startDate; int32 endDate; int64 issueQty; int32 qtyUnit; int32 ordMaxQty; int32 ordMinQty; int32 issuePrice; union { int32 upperLimitPrice; int32 ceilPrice; }; union { int32 lowerLimitPrice; int32 floorPrice; };
} OesIssueBaseInfoT;
# 2581 "oes/oes_global/oes_base_model.h"
typedef struct _OesPriceLimit {
  union {

    int32 upperLimitPrice;

    int32 ceilPrice;
  };

  union {

    int32 lowerLimitPrice;

    int32 floorPrice;
  };
} OesPriceLimitT;
# 2729 "oes/oes_global/oes_base_model.h"
typedef struct _OesStockBaseInfo {
  char securityId[(16)]; uint8 mktId; uint8 productType; uint8 securityType; uint8 subSecurityType; uint8 securityLevel; uint8 securityRiskLevel; uint8 currType; uint8 qualificationClass; uint8 isDayTrading; uint8 suspFlag; uint8 temporarySuspFlag; uint8 __STOCK_BASE_filler[5]; int32 buyQtyUnit; union { int32 lmtBuyMaxQty; int32 buyOrdMaxQty; }; union { int32 lmtBuyMinQty; int32 buyOrdMinQty; }; int32 mktBuyMaxQty; int32 mktBuyMinQty; int32 sellQtyUnit; union { int32 lmtSellMaxQty; int32 sellOrdMaxQty; }; union { int32 lmtSellMinQty; int32 sellOrdMinQty; }; int32 mktSellMaxQty; int32 mktSellMinQty; union { int32 priceTick; int32 priceUnit; }; int32 prevClose; int64 parPrice; int64 bondInterest; int32 repoExpirationDays; int32 cashHoldDays; OesPriceLimitT priceLimit[__OES_TRD_SESS_TYPE_MAX]; char securityName[(24)]; char fundId[(16)]; int64 outstandingShare; int64 publicFloatShare; char __STOCK_BASE_reserve[16];
} OesStockBaseInfoT;
# 2818 "oes/oes_global/oes_base_model.h"
typedef struct _OesEtfBaseInfo {
  char fundId[(16)]; char securityId[(16)]; uint8 mktId; uint8 securityType; uint8 subSecurityType; uint8 isPublishIOPV; uint8 isCreationAble; uint8 isRedemptionAble; uint8 isDisabled; uint8 __ETF_BASE_filler; int32 componentCnt; int32 creRdmUnit; int32 maxCashRatio; int32 nav; int64 navPerCU; int64 dividendPerCU; int32 tradingDay; int32 preTradingDay; int64 estiCashCmpoent; int64 cashCmpoent; int64 creationLimit; int64 redemLimit; int64 netCreationLimit; int64 netRedemLimit;
} OesEtfBaseInfoT;
# 2875 "oes/oes_global/oes_base_model.h"
typedef struct _OesEtfComponentBaseInfo {
  char fundId[(16)]; char securityId[(16)]; uint8 mktId; uint8 subFlag; uint8 securityType; uint8 subSecurityType; int32 prevClose; int32 qty; int32 premiumRate; int64 creationSubCash; int64 redemptionCashSub;
} OesEtfComponentBaseInfoT;
# 3016 "oes/oes_global/oes_base_model.h"
typedef struct _OesCashAssetBaseInfo {
  char cashAcctId[(16)]; char custId[(16)]; uint8 currType; uint8 cashType; uint8 cashAcctStatus; uint8 isFundTrsfDisabled; uint8 __CASH_ASSET_BASE_filler[4]; int64 beginningBal; int64 beginningAvailableBal; int64 beginningDrawableBal; int64 disableBal; int64 reversalAmt; int64 manualFrzAmt; int64 totalDepositAmt; int64 totalWithdrawAmt; int64 withdrawFrzAmt; int64 totalSellAmt; int64 totalBuyAmt; int64 buyFrzAmt; int64 totalFeeAmt; int64 feeFrzAmt; int64 marginAmt; int64 marginFrzAmt;
} OesCashAssetBaseInfoT;
# 3030 "oes/oes_global/oes_base_model.h"
typedef struct _OesCashAssetReport {
  char cashAcctId[(16)]; char custId[(16)]; uint8 currType; uint8 cashType; uint8 cashAcctStatus; uint8 isFundTrsfDisabled; uint8 __CASH_ASSET_BASE_filler[4]; int64 beginningBal; int64 beginningAvailableBal; int64 beginningDrawableBal; int64 disableBal; int64 reversalAmt; int64 manualFrzAmt; int64 totalDepositAmt; int64 totalWithdrawAmt; int64 withdrawFrzAmt; int64 totalSellAmt; int64 totalBuyAmt; int64 buyFrzAmt; int64 totalFeeAmt; int64 feeFrzAmt; int64 marginAmt; int64 marginFrzAmt;
  int64 currentTotalBal; int64 currentAvailableBal; int64 currentDrawableBal; struct { int64 initialMargin; int64 totalExerciseFrzAmt; int64 pendingSupplMargin; int64 sseAvailablePurchaseLimit; int64 szseAvailablePurchaseLimit; int64 totalMarketMargin; int64 totalNetMargin; } optionExt; char __CASH_ASSET_EXT_reserve[16];
} OesCashAssetReportT;
# 3087 "oes/oes_global/oes_base_model.h"
typedef struct _OesCustBaseInfo {
  char custId[(16)]; uint8 custType; uint8 status; uint8 riskLevel; uint8 originRiskLevel; uint8 institutionFlag; uint8 investorClass; uint8 optSettlementCnfmFlag; uint8 __CUST_BASE_filler1; int32 branchId; uint32 __CUST_BASE_filler2;
} OesCustBaseInfoT;
# 3156 "oes/oes_global/oes_base_model.h"
typedef struct _OesInvAcctBaseInfo {
  char invAcctId[(16)]; uint8 mktId; uint8 acctType; uint8 status; uint8 ownerType; uint8 optInvLevel; uint8 isTradeDisabled; uint8 __INV_ACCT_BASE_filler[2]; uint64 limits; uint64 permissions; int32 pbuId; int32 stkPositionLimitRatio; int32 subscriptionQuota; int32 kcSubscriptionQuota; char __INV_ACCT_BASE_reserve[32];
} OesInvAcctBaseInfoT;
# 3288 "oes/oes_global/oes_base_model.h"
typedef struct _OesStkHoldingBaseInfo {
  char invAcctId[(16)]; char securityId[(16)]; uint8 mktId; uint8 securityType; uint8 subSecurityType; uint8 productType; uint8 __HOLD_BASE_filler[4]; int64 originalHld; int64 originalCostAmt; int64 totalBuyHld; int64 totalSellHld; int64 sellFrzHld; int64 manualFrzHld; int64 totalBuyAmt; int64 totalSellAmt; int64 totalBuyFee; int64 totalSellFee; int64 totalTrsfInHld; int64 totalTrsfOutHld; int64 trsfOutFrzHld; int64 originalLockHld; int64 totalLockHld; int64 totalUnlockHld; int64 originalAvlHld; int64 maxReduceQuota;
} OesStkHoldingBaseInfoT;
# 3302 "oes/oes_global/oes_base_model.h"
typedef struct _OesStkHoldingReport {
  char invAcctId[(16)]; char securityId[(16)]; uint8 mktId; uint8 securityType; uint8 subSecurityType; uint8 productType; uint8 __HOLD_BASE_filler[4]; int64 originalHld; int64 originalCostAmt; int64 totalBuyHld; int64 totalSellHld; int64 sellFrzHld; int64 manualFrzHld; int64 totalBuyAmt; int64 totalSellAmt; int64 totalBuyFee; int64 totalSellFee; int64 totalTrsfInHld; int64 totalTrsfOutHld; int64 trsfOutFrzHld; int64 originalLockHld; int64 totalLockHld; int64 totalUnlockHld; int64 originalAvlHld; int64 maxReduceQuota;
  int64 sellAvlHld; int64 trsfOutAvlHld; int64 lockAvlHld; int64 __filler; int64 sumHld; int64 costPrice;
} OesStkHoldingReportT;
# 3322 "oes/oes_global/oes_base_model.h"
typedef struct _OesMarketStateInfo {
  uint8 exchId;
  uint8 platformId;
  uint8 mktId;
  uint8 mktState;
  uint8 __filler[4];
} OesMarketStateInfoT;
# 3377 "oes/oes_global/oes_base_model.h"
typedef struct _OesNotifyBaseInfo {
  int32 notifySeqNo; uint8 notifySource; uint8 notifyType; uint8 notifyLevel; uint8 notifyScope; int32 tranTime; int32 __NOTIFY_INFO_filler; char custId[(16)]; char content[(256)];
} OesNotifyBaseInfoT;
# 3391 "oes/oes_global/oes_base_model.h"
typedef struct _OesNotifyInfoReport {
  int32 notifySeqNo; uint8 notifySource; uint8 notifyType; uint8 notifyLevel; uint8 notifyScope; int32 tranTime; int32 __NOTIFY_INFO_filler; char custId[(16)]; char content[(256)];
} OesNotifyInfoReportT;
# 3554 "oes/oes_global/oes_base_model.h"
typedef struct _OesOptionBaseInfo {
  char securityId[(16)]; uint8 mktId; uint8 productType; uint8 securityType; uint8 subSecurityType; uint8 contractType; uint8 exerciseType; uint8 deliveryType; uint8 isDayTrading; uint8 limitOpenFlag; uint8 suspFlag; uint8 temporarySuspFlag; uint8 __OPTION_BASE_filler1[5]; int32 contractUnit; int32 exercisePrice; int32 deliveryDate; int32 deliveryMonth; int32 listDate; int32 lastTradeDay; int32 exerciseBeginDate; int32 exerciseEndDate; int64 contractPosition; int32 prevClosePrice; int32 prevSettlPrice; int32 underlyingClosePrice; int32 priceTick; int32 upperLimitPrice; int32 lowerLimitPrice; int32 buyQtyUnit; int32 lmtBuyMaxQty; int32 lmtBuyMinQty; int32 mktBuyMaxQty; int32 mktBuyMinQty; int32 sellQtyUnit; int32 lmtSellMaxQty; int32 lmtSellMinQty; int32 mktSellMaxQty; int32 mktSellMinQty; int64 sellMargin; int64 originalSellMargin; int32 marginRatioParam1; int32 marginRatioParam2; int32 increasedMarginRatio; int32 expireDays; char contractId[(24)]; char securityName[(24)]; char securityStatusFlag[(8)]; char underlyingSecurityId[(16)]; uint8 underlyingMktId; uint8 underlyingSecurityType; uint8 __OPTION_BASE_filler3[6]; char __OPTION_BASE_reserve[32];
} OesOptionBaseInfoT;
# 3689 "oes/oes_global/oes_base_model.h"
typedef struct _OesOptHoldingBaseInfo {
  char invAcctId[(16)]; char securityId[(16)]; uint8 mktId; uint8 positionType; uint8 productType; uint8 securityType; uint8 subSecurityType; uint8 contractType; uint8 hedgeFlag; uint8 __HOLD_BASE_filler; int64 originalQty; int64 originalAvlQty; int64 originalCostAmt; int64 originalCarryingAmt; int64 totalOpenQty; int64 uncomeQty; int64 totalCloseQty; int64 closeFrzQty; int64 manualFrzQty; int64 totalInPremium; int64 totalOutPremium; int64 totalOpenFee; int64 totalCloseFee; int64 exerciseFrzQty; int64 positionMargin; char __OPT_HOLDING_BASE_reserve[32];
} OesOptHoldingBaseInfoT;
# 3703 "oes/oes_global/oes_base_model.h"
typedef struct _OesOptHoldingReport {
  char invAcctId[(16)]; char securityId[(16)]; uint8 mktId; uint8 positionType; uint8 productType; uint8 securityType; uint8 subSecurityType; uint8 contractType; uint8 hedgeFlag; uint8 __HOLD_BASE_filler; int64 originalQty; int64 originalAvlQty; int64 originalCostAmt; int64 originalCarryingAmt; int64 totalOpenQty; int64 uncomeQty; int64 totalCloseQty; int64 closeFrzQty; int64 manualFrzQty; int64 totalInPremium; int64 totalOutPremium; int64 totalOpenFee; int64 totalCloseFee; int64 exerciseFrzQty; int64 positionMargin; char __OPT_HOLDING_BASE_reserve[32];
  int64 closeAvlQty; int64 exerciseAvlQty; int64 sumQty; int64 costPrice; int64 carryingAvgPrice; int64 coveredAvlUnderlyingQty; int32 availableLongPositionLimit; int32 availableTotalPositionLimit; int32 availableDailyBuyOpenLimit; int32 __OPT_HOLDING_EXT_filler2; char __OPT_HOLDING_EXT_reserve[32];
} OesOptHoldingReportT;
# 3782 "oes/oes_global/oes_base_model.h"
typedef struct _OesOptUnderlyingHoldingBaseInfo {
  char invAcctId[(16)]; char underlyingSecurityId[(16)]; uint8 mktId; uint8 underlyingMktId; uint8 underlyingSecurityType; uint8 underlyingSubSecurityType; uint8 __OPT_UNDERLYING_HOLD_BASE_filler[4]; int64 originalHld; int64 originalAvlHld; int64 originalCoveredQty; int64 initialCoveredQty; int64 coveredQty; int64 coveredGapQty; int64 coveredAvlQty; int64 lockAvlQty; int64 sumHld; int64 maxReduceQuota;
} OesOptUnderlyingHoldingBaseInfoT;
# 3796 "oes/oes_global/oes_base_model.h"
typedef struct _OesOptUnderlyingHoldingReport {
  char invAcctId[(16)]; char underlyingSecurityId[(16)]; uint8 mktId; uint8 underlyingMktId; uint8 underlyingSecurityType; uint8 underlyingSubSecurityType; uint8 __OPT_UNDERLYING_HOLD_BASE_filler[4]; int64 originalHld; int64 originalAvlHld; int64 originalCoveredQty; int64 initialCoveredQty; int64 coveredQty; int64 coveredGapQty; int64 coveredAvlQty; int64 lockAvlQty; int64 sumHld; int64 maxReduceQuota;
} OesOptUnderlyingHoldingReportT;
# 3888 "oes/oes_global/oes_base_model.h"
typedef struct _OesOptionPositionLimitBaseInfo {
  char invAcctId[(16)]; char underlyingSecurityId[(16)]; uint8 mktId; uint8 underlyingMktId; uint8 underlyingSecurityType; uint8 underlyingSubSecurityType; uint8 __POSITION_LIMIT_BASE_filler1[4]; int32 longPositionLimit; int32 totalPositionLimit; int32 dailyBuyOpenLimit; int32 __POSITION_LIMIT_BASE_filler2; int32 originalLongQty; int32 totalBuyOpenQty; int32 uncomeBuyOpenQty; int32 totalSellCloseQty; int32 originalShortQty; int32 totalSellOpenQty; int32 uncomeSellOpenQty; int32 totalBuyCloseQty; int32 originalCoveredQty; int32 totalCoveredOpenQty; int32 uncomeCoveredOpenQty; int32 totalCoveredCloseQty;
} OesOptionPositionLimitBaseInfoT;
# 3982 "oes/oes_global/oes_base_model.h"
typedef struct _OesOptionExerciseAssignBase {
  char invAcctId[(16)]; char securityId[(16)]; uint8 mktId; uint8 positionType; uint8 productType; uint8 securityType; uint8 subSecurityType; uint8 contractType; uint8 deliveryType; uint8 __OPTION_EXERCISE_ASSIGN_filler1; int32 exercisePrice; int32 exerciseQty; int64 deliveryQty; int32 exerciseBeginDate; int32 exerciseEndDate; int32 clearingDate; int32 deliveryDate; int64 clearingAmt; int64 clearingFee; int64 settlementAmt; char underlyingSecurityId[(16)]; uint8 underlyingMktId; uint8 underlyingSecurityType; uint8 __OPTION_EXERCISE_ASSIGN_filler3[6]; char securityName[(24)]; char __OPTION_EXERCISE_ASSIGN_reserve[16];
} OesOptionExerciseAssignBaseT;
# 4038 "oes/oes_global/oes_base_model.h"
typedef struct _OesOptSettlementConfirmBaseInfo {
  char custId[(16)]; union { uint64 u64; int64 i64; uint32 u32[2]; int32 i32[2]; char c8[8]; } userInfo; int16 clientId; int8 clEnvId; int8 __filler2; int32 transDate; int32 transTime; int32 rejReason; char __OPT_SETTLEMENT_CONFIRM_BASE_reserve[24];
} OesOptSettlementConfirmBaseInfoT;
# 4052 "oes/oes_global/oes_base_model.h"
typedef struct _OesOptSettlementConfirmReport {
  char custId[(16)]; union { uint64 u64; int64 i64; uint32 u32[2]; int32 i32[2]; char c8[8]; } userInfo; int16 clientId; int8 clEnvId; int8 __filler2; int32 transDate; int32 transTime; int32 rejReason; char __OPT_SETTLEMENT_CONFIRM_BASE_reserve[24];
} OesOptSettlementConfirmReportT;
# 4064 "oes/oes_global/oes_base_model.h"
}